#pragma once
#include <string>
#include <set>
#include <vector>


class CValidator
{
public:
	CValidator(void);
	~CValidator(void);
	bool assign_ref(std::string ref_filename);	
	bool aff_hit(std::set<std::string> grpA, std::set<std::string> grpB);
	bool calc_F1(std::vector<std::set<std::string>> target_grp);
	bool ret_rest(float & f1_out, float &prec_out, float &rec_out);

private:
	std::vector<std::set<std::string>> ref_set;
	float F1, Precision, Recall;
	int COMPLEX_SIZE;
	float aff_TH;

};

